<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>pymsn.event.offline_messages</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://telepathy.freedesktop.org/wiki/Pymsn">pymsn</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        Package&nbsp;pymsn ::
        <a href="pymsn.event-module.html">Package&nbsp;event</a> ::
        Module&nbsp;offline_messages
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="pymsn.event.offline_messages-module.html">Module pymsn.event.offline_messages</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno"> 1</tt>  <tt class="py-line"><tt class="py-comment"># -*- coding: utf-8 -*-</tt> </tt>
<a name="L2"></a><tt class="py-lineno"> 2</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L3"></a><tt class="py-lineno"> 3</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># Copyright (C) 2007 Johann Prieur &lt;johann.prieur@gmail.com&gt;</tt> </tt>
<a name="L4"></a><tt class="py-lineno"> 4</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L5"></a><tt class="py-lineno"> 5</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># This program is free software; you can redistribute it and/or modify</tt> </tt>
<a name="L6"></a><tt class="py-lineno"> 6</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># it under the terms of the GNU General Public License as published by</tt> </tt>
<a name="L7"></a><tt class="py-lineno"> 7</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># the Free Software Foundation; either version 2 of the License, or</tt> </tt>
<a name="L8"></a><tt class="py-lineno"> 8</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># (at your option) any later version.</tt> </tt>
<a name="L9"></a><tt class="py-lineno"> 9</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L10"></a><tt class="py-lineno">10</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># This program is distributed in the hope that it will be useful,</tt> </tt>
<a name="L11"></a><tt class="py-lineno">11</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># but WITHOUT ANY WARRANTY; without even the implied warranty of</tt> </tt>
<a name="L12"></a><tt class="py-lineno">12</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</tt> </tt>
<a name="L13"></a><tt class="py-lineno">13</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># GNU General Public License for more details.</tt> </tt>
<a name="L14"></a><tt class="py-lineno">14</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L15"></a><tt class="py-lineno">15</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># You should have received a copy of the GNU General Public License</tt> </tt>
<a name="L16"></a><tt class="py-lineno">16</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># along with this program; if not, write to the Free Software</tt> </tt>
<a name="L17"></a><tt class="py-lineno">17</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA</tt> </tt>
<a name="L18"></a><tt class="py-lineno">18</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L19"></a><tt class="py-lineno">19</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="L20"></a><tt class="py-lineno">20</tt>  <tt class="py-line"><tt class="py-docstring">"""Offline IM event interfaces</tt> </tt>
<a name="L21"></a><tt class="py-lineno">21</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L22"></a><tt class="py-lineno">22</tt>  <tt class="py-line"><tt class="py-docstring">The interfaces defined in this module allow receiving notification events about</tt> </tt>
<a name="L23"></a><tt class="py-lineno">23</tt>  <tt class="py-line"><tt class="py-docstring">Offline messages."""</tt> </tt>
<a name="L24"></a><tt class="py-lineno">24</tt>  <tt class="py-line"> </tt>
<a name="L25"></a><tt class="py-lineno">25</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">pymsn</tt><tt class="py-op">.</tt><tt id="link-0" class="py-name" targets="Package pymsn.event=pymsn.event-module.html"><a title="pymsn.event" class="py-name" href="#" onclick="return doclink('link-0', 'event', 'link-0');">event</a></tt> <tt class="py-keyword">import</tt> <tt id="link-1" class="py-name" targets="Class pymsn.event.BaseEventInterface=pymsn.event.BaseEventInterface-class.html"><a title="pymsn.event.BaseEventInterface" class="py-name" href="#" onclick="return doclink('link-1', 'BaseEventInterface', 'link-1');">BaseEventInterface</a></tt> </tt>
<a name="L26"></a><tt class="py-lineno">26</tt>  <tt class="py-line"> </tt>
<a name="L27"></a><tt class="py-lineno">27</tt>  <tt class="py-line"><tt class="py-name">__all__</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-string">"OfflineMessagesEventInterface"</tt><tt class="py-op">]</tt> </tt>
<a name="L28"></a><tt class="py-lineno">28</tt>  <tt class="py-line"> </tt>
<a name="OfflineMessagesEventInterface"></a><div id="OfflineMessagesEventInterface-def"><a name="L29"></a><tt class="py-lineno">29</tt> <a class="py-toggle" href="#" id="OfflineMessagesEventInterface-toggle" onclick="return toggle('OfflineMessagesEventInterface');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="pymsn.event.offline_messages.OfflineMessagesEventInterface-class.html">OfflineMessagesEventInterface</a><tt class="py-op">(</tt><tt class="py-base-class">BaseEventInterface</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OfflineMessagesEventInterface-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="OfflineMessagesEventInterface-expanded"><a name="L30"></a><tt class="py-lineno">30</tt>  <tt class="py-line">    <tt class="py-docstring">"""interfaces allowing the user to get notified about events from the</tt> </tt>
<a name="L31"></a><tt class="py-lineno">31</tt>  <tt class="py-line"><tt class="py-docstring">    Offline IM box."""</tt> </tt>
<a name="L32"></a><tt class="py-lineno">32</tt>  <tt class="py-line"> </tt>
<a name="OfflineMessagesEventInterface.__init__"></a><div id="OfflineMessagesEventInterface.__init__-def"><a name="L33"></a><tt class="py-lineno">33</tt> <a class="py-toggle" href="#" id="OfflineMessagesEventInterface.__init__-toggle" onclick="return toggle('OfflineMessagesEventInterface.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pymsn.event.offline_messages.OfflineMessagesEventInterface-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">client</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OfflineMessagesEventInterface.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="OfflineMessagesEventInterface.__init__-expanded"><a name="L34"></a><tt class="py-lineno">34</tt>  <tt class="py-line">        <tt id="link-2" class="py-name"><a title="pymsn.event.BaseEventInterface" class="py-name" href="#" onclick="return doclink('link-2', 'BaseEventInterface', 'link-1');">BaseEventInterface</a></tt><tt class="py-op">.</tt><tt id="link-3" class="py-name" targets="Method pymsn.client.Client.__init__()=pymsn.client.Client-class.html#__init__,Method pymsn.conversation.ConversationMessage.__init__()=pymsn.conversation.ConversationMessage-class.html#__init__,Method pymsn.conversation.TextFormat.__init__()=pymsn.conversation.TextFormat-class.html#__init__,Method pymsn.event.BaseEventInterface.__init__()=pymsn.event.BaseEventInterface-class.html#__init__,Method pymsn.event.EventsDispatcher.__init__()=pymsn.event.EventsDispatcher-class.html#__init__,Method pymsn.event.address_book.AddressBookEventInterface.__init__()=pymsn.event.address_book.AddressBookEventInterface-class.html#__init__,Method pymsn.event.client.ClientEventInterface.__init__()=pymsn.event.client.ClientEventInterface-class.html#__init__,Method pymsn.event.contact.ContactEventInterface.__init__()=pymsn.event.contact.ContactEventInterface-class.html#__init__,Method pymsn.event.conversation.ConversationEventInterface.__init__()=pymsn.event.conversation.ConversationEventInterface-class.html#__init__,Method pymsn.event.invite.InviteEventInterface.__init__()=pymsn.event.invite.InviteEventInterface-class.html#__init__,Method pymsn.event.offline_messages.OfflineMessagesEventInterface.__init__()=pymsn.event.offline_messages.OfflineMessagesEventInterface-class.html#__init__,Method pymsn.event.profile.ProfileEventInterface.__init__()=pymsn.event.profile.ProfileEventInterface-class.html#__init__,Method pymsn.p2p.MSNObject.__init__()=pymsn.p2p.MSNObject-class.html#__init__,Method pymsn.p2p.MSNObjectStore.__init__()=pymsn.p2p.MSNObjectStore-class.html#__init__,Method pymsn.profile.ClientCapabilities.__init__()=pymsn.profile.ClientCapabilities-class.html#__init__,Method pymsn.profile.Contact.__init__()=pymsn.profile.Contact-class.html#__init__,Method pymsn.profile.Group.__init__()=pymsn.profile.Group-class.html#__init__,Method pymsn.profile.Profile.__init__()=pymsn.profile.Profile-class.html#__init__"><a title="pymsn.client.Client.__init__
pymsn.conversation.ConversationMessage.__init__
pymsn.conversation.TextFormat.__init__
pymsn.event.BaseEventInterface.__init__
pymsn.event.EventsDispatcher.__init__
pymsn.event.address_book.AddressBookEventInterface.__init__
pymsn.event.client.ClientEventInterface.__init__
pymsn.event.contact.ContactEventInterface.__init__
pymsn.event.conversation.ConversationEventInterface.__init__
pymsn.event.invite.InviteEventInterface.__init__
pymsn.event.offline_messages.OfflineMessagesEventInterface.__init__
pymsn.event.profile.ProfileEventInterface.__init__
pymsn.p2p.MSNObject.__init__
pymsn.p2p.MSNObjectStore.__init__
pymsn.profile.ClientCapabilities.__init__
pymsn.profile.Contact.__init__
pymsn.profile.Group.__init__
pymsn.profile.Profile.__init__" class="py-name" href="#" onclick="return doclink('link-3', '__init__', 'link-3');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt id="link-4" class="py-name" targets="Module pymsn.client=pymsn.client-module.html,Module pymsn.event.client=pymsn.event.client-module.html"><a title="pymsn.client
pymsn.event.client" class="py-name" href="#" onclick="return doclink('link-4', 'client', 'link-4');">client</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L35"></a><tt class="py-lineno">35</tt>  <tt class="py-line"> </tt>
<a name="OfflineMessagesEventInterface.on_oim_state_changed"></a><div id="OfflineMessagesEventInterface.on_oim_state_changed-def"><a name="L36"></a><tt class="py-lineno">36</tt> <a class="py-toggle" href="#" id="OfflineMessagesEventInterface.on_oim_state_changed-toggle" onclick="return toggle('OfflineMessagesEventInterface.on_oim_state_changed');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pymsn.event.offline_messages.OfflineMessagesEventInterface-class.html#on_oim_state_changed">on_oim_state_changed</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">state</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OfflineMessagesEventInterface.on_oim_state_changed-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="OfflineMessagesEventInterface.on_oim_state_changed-expanded"><a name="L37"></a><tt class="py-lineno">37</tt>  <tt class="py-line">        <tt class="py-keyword">pass</tt> </tt>
</div><a name="L38"></a><tt class="py-lineno">38</tt>  <tt class="py-line"> </tt>
<a name="OfflineMessagesEventInterface.on_oim_messages_received"></a><div id="OfflineMessagesEventInterface.on_oim_messages_received-def"><a name="L39"></a><tt class="py-lineno">39</tt> <a class="py-toggle" href="#" id="OfflineMessagesEventInterface.on_oim_messages_received-toggle" onclick="return toggle('OfflineMessagesEventInterface.on_oim_messages_received');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pymsn.event.offline_messages.OfflineMessagesEventInterface-class.html#on_oim_messages_received">on_oim_messages_received</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">messages</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OfflineMessagesEventInterface.on_oim_messages_received-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="OfflineMessagesEventInterface.on_oim_messages_received-expanded"><a name="L40"></a><tt class="py-lineno">40</tt>  <tt class="py-line">        <tt class="py-keyword">pass</tt> </tt>
</div><a name="L41"></a><tt class="py-lineno">41</tt>  <tt class="py-line"> </tt>
<a name="OfflineMessagesEventInterface.on_oim_messages_fetched"></a><div id="OfflineMessagesEventInterface.on_oim_messages_fetched-def"><a name="L42"></a><tt class="py-lineno">42</tt> <a class="py-toggle" href="#" id="OfflineMessagesEventInterface.on_oim_messages_fetched-toggle" onclick="return toggle('OfflineMessagesEventInterface.on_oim_messages_fetched');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pymsn.event.offline_messages.OfflineMessagesEventInterface-class.html#on_oim_messages_fetched">on_oim_messages_fetched</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">messages</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OfflineMessagesEventInterface.on_oim_messages_fetched-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="OfflineMessagesEventInterface.on_oim_messages_fetched-expanded"><a name="L43"></a><tt class="py-lineno">43</tt>  <tt class="py-line">        <tt class="py-keyword">pass</tt> </tt>
</div><a name="L44"></a><tt class="py-lineno">44</tt>  <tt class="py-line"> </tt>
<a name="OfflineMessagesEventInterface.on_oim_messages_deleted"></a><div id="OfflineMessagesEventInterface.on_oim_messages_deleted-def"><a name="L45"></a><tt class="py-lineno">45</tt> <a class="py-toggle" href="#" id="OfflineMessagesEventInterface.on_oim_messages_deleted-toggle" onclick="return toggle('OfflineMessagesEventInterface.on_oim_messages_deleted');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pymsn.event.offline_messages.OfflineMessagesEventInterface-class.html#on_oim_messages_deleted">on_oim_messages_deleted</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OfflineMessagesEventInterface.on_oim_messages_deleted-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="OfflineMessagesEventInterface.on_oim_messages_deleted-expanded"><a name="L46"></a><tt class="py-lineno">46</tt>  <tt class="py-line">        <tt class="py-keyword">pass</tt> </tt>
</div><a name="L47"></a><tt class="py-lineno">47</tt>  <tt class="py-line"> </tt>
<a name="OfflineMessagesEventInterface.on_oim_message_sent"></a><div id="OfflineMessagesEventInterface.on_oim_message_sent-def"><a name="L48"></a><tt class="py-lineno">48</tt> <a class="py-toggle" href="#" id="OfflineMessagesEventInterface.on_oim_message_sent-toggle" onclick="return toggle('OfflineMessagesEventInterface.on_oim_message_sent');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="pymsn.event.offline_messages.OfflineMessagesEventInterface-class.html#on_oim_message_sent">on_oim_message_sent</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">recipient</tt><tt class="py-op">,</tt> <tt class="py-param">message</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="OfflineMessagesEventInterface.on_oim_message_sent-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="OfflineMessagesEventInterface.on_oim_message_sent-expanded"><a name="L49"></a><tt class="py-lineno">49</tt>  <tt class="py-line">        <tt class="py-keyword">pass</tt> </tt>
</div></div><a name="L50"></a><tt class="py-lineno">50</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://telepathy.freedesktop.org/wiki/Pymsn">pymsn</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Sun Aug  2 15:19:18 2009
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
